package dao;

import entity.Teacher;

import java.util.List;

public interface TeacherDao {
    //查询所有教师
     List<Teacher> getTeacherList()throws Exception;

    int addTeacher(Teacher teacher) throws Exception;

    Teacher getTeacherByTno(int tno)throws Exception;
}
